composer create-project laravel/laravel example-app
cd example-app
php artisan serve
just run this command(make sure to have Composer installed on your machine from: https://getcomposer.org/download/):
composer create-project laravel/laravel project-name
composer create-project --prefer-dist laravel/laravel blog "7.*"
composer create-project --prefer-dist laravel/laravel blog